import request from '@/utils/request'
const serviceName = 'Device'
//  列表
export function queryDevicePlans(data) {
  return request({
    url: serviceName + '/DevicePlan/QueryDevicePlans',
    method: 'post',
    data
  })
}
//  详情
export function getDevicePlan(data) {
  return request({
    url: serviceName + '/DevicePlan/GetDevicePlan',
    method: 'post',
    data
  })
}
//  新增 修改
export function saveDevicePlan(data) {
  return request({
    url: serviceName + '/DevicePlan/SaveDevicePlan',
    method: 'post',
    data
  })
}
//  删除
export function deleteDevicePlans(data) {
  return request({
    url: serviceName + '/DevicePlan/DeleteDevicePlans',
    method: 'post',
    data
  })
}
export default {
  queryDevicePlans,
  getDevicePlan,
  saveDevicePlan,
  deleteDevicePlans
}
